package top.haijunit.sample.navi.utils;

/**
 * @author zhanghaijun
 * @date 2023/8/2 10:42
 * @description 操作系统检测
 */
public class SystemUtil {
    public static boolean isLinux() {
        return System.getProperty("os.name").toLowerCase().contains("linux");
    }

    public static boolean isWindows() {
        return System.getProperty("os.name").toLowerCase().contains("windows");
    }
}
